Skip to content

[JeonJe] WEEK 04 Solutions - #2742

Merged
JeonJe merged 5 commits into
DaleStudy:mainfrom
JeonJe:week4
Jul 18, 2026
Merged

[JeonJe] WEEK 04 Solutions#2742
JeonJe merged 5 commits into
DaleStudy:mainfrom
JeonJe:week4

Conversation

@JeonJe

@JeonJe JeonJe commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

๋‹ต์•ˆ ์ œ์ถœ ๋ฌธ์ œ

  • merge-two-sorted-lists
  • maximum-depth-of-binary-tree
  • find-minimum-in-rotated-sorted-array
  • word-search
  • coin-change

์ž‘์„ฑ์ž ์ฒดํฌ ๋ฆฌ์ŠคํŠธ

  • Projects์˜ ์˜ค๋ฅธ์ชฝ ๋ฒ„ํŠผ(โ–ผ)์„ ๋ˆŒ๋Ÿฌ ํ™•์žฅํ•œ ๋’ค, Week๋ฅผ ํ˜„์žฌ ์ฃผ์ฐจ๋กœ ์„ค์ •ํ•ด์ฃผ์„ธ์š”.
  • ๋ฌธ์ œ๋ฅผ ๋ชจ๋‘ ํ‘ธ์‹œ๋ฉด ํ”„๋กœ์ ํŠธ์—์„œ Status๋ฅผ In Review๋กœ ์„ค์ •ํ•ด์ฃผ์„ธ์š”.
  • ์ฝ”๋“œ ๊ฒ€ํ† ์ž 1๋ถ„ ์ด์ƒ์œผ๋กœ๋ถ€ํ„ฐ ์Šน์ธ์„ ๋ฐ›์œผ์…จ๋‹ค๋ฉด PR์„ ๋ณ‘ํ•ฉํ•ด์ฃผ์„ธ์š”.

๊ฒ€ํ† ์ž ์ฒดํฌ ๋ฆฌ์ŠคํŠธ

Important

๋ณธ์ธ ๋‹ต์•ˆ ์ œ์ถœ ๋ฟ๋งŒ ์•„๋‹ˆ๋ผ ๋‹ค๋ฅธ ๋ถ„ PR ํ•˜๋‚˜ ์ด์ƒ์„ ๋ฐ˜๋“œ์‹œ ๊ฒ€ํ† ๋ฅผ ํ•ด์ฃผ์…”์•ผ ํ•ฉ๋‹ˆ๋‹ค!

  • ๋ฐ”๋กœ ์ด์ „์— ์˜ฌ๋ผ์˜จ PR์— ๋ณธ์ธ์„ ์ฝ”๋“œ ๋ฆฌ๋ทฐ์–ด๋กœ ์ถ”๊ฐ€ํ•ด์ฃผ์„ธ์š”.
  • ๋ณธ์ธ์ด ๊ฒ€ํ† ํ•ด์•ผํ•˜๋Š” PR์˜ ๋‹ต์•ˆ ์ฝ”๋“œ์— ํ”ผ๋“œ๋ฐฑ์„ ์ฃผ์„ธ์š”.
  • ํ† ์š”์ผ ์ „๊นŒ์ง€ PR์„ ๋ณ‘ํ•ฉํ•  ์ˆ˜ ์žˆ๋„๋ก ์Šน์ธํ•ด์ฃผ์„ธ์š”.

@dalestudy

dalestudy Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

๐Ÿ“Š JeonJe ๋‹˜์˜ ํ•™์Šต ํ˜„ํ™ฉ

์ด๋ฒˆ ์ฃผ ์ œ์ถœ ๋ฌธ์ œ

๋ฌธ์ œ ๋‚œ์ด๋„ ์œ ํ˜• ๋ถ„์„
coin-change Medium โœ… ์˜๋„ํ•œ ์œ ํ˜•
find-minimum-in-rotated-sorted-array Medium โœ… ์˜๋„ํ•œ ์œ ํ˜•
maximum-depth-of-binary-tree Easy โœ… ์˜๋„ํ•œ ์œ ํ˜•
merge-two-sorted-lists Easy โœ… ์˜๋„ํ•œ ์œ ํ˜•
word-search Medium โœ… ์˜๋„ํ•œ ์œ ํ˜•

๋ˆ„์  ํ•™์Šต ์š”์•ฝ

  • ํ’€์ดํ•œ ๋ฌธ์ œ: 15 / 75๊ฐœ
  • ์ด๋ฒˆ ์ฃผ ์œ ํ˜• ์ผ์น˜์œจ: 100% (5๋ฌธ์ œ ์ค‘ 5๋ฌธ์ œ ์ผ์น˜)

๋ฌธ์ œ ํ’€์ด ํ˜„ํ™ฉ

์นดํ…Œ๊ณ ๋ฆฌ ์ง„ํ–‰๋„ ์™„๋ฃŒ
Array โ– โ– โ– โ– โ–กโ–กโ–ก 5 / 10 (Medium 3, Easy 2)
Dynamic Programming โ– โ– โ– โ–กโ–กโ–กโ–ก 4 / 11 (Easy 1, Medium 3)
Heap โ– โ– โ–กโ–กโ–กโ–กโ–ก 1 / 3 (Medium 1)
Binary โ– โ–กโ–กโ–กโ–กโ–กโ–ก 1 / 5 (Easy 1)
String โ– โ–กโ–กโ–กโ–กโ–กโ–ก 2 / 10 (Easy 2)
Graph โ– โ–กโ–กโ–กโ–กโ–กโ–ก 1 / 8 (Medium 1)
Tree โ– โ–กโ–กโ–กโ–กโ–กโ–ก 1 / 14 (Medium 1)
Interval โ–กโ–กโ–กโ–กโ–กโ–กโ–ก 0 / 5 โ† ์•„์ง ์‹œ์ž‘ ์•ˆ ํ•จ
Linked List โ–กโ–กโ–กโ–กโ–กโ–กโ–ก 0 / 6 โ† ์•„์ง ์‹œ์ž‘ ์•ˆ ํ•จ
Matrix โ–กโ–กโ–กโ–กโ–กโ–กโ–ก 0 / 4 โ† ์•„์ง ์‹œ์ž‘ ์•ˆ ํ•จ

๐Ÿค– ์ด ๋Œ“๊ธ€์€ GitHub App์„ ํ†ตํ•ด ์ž๋™์œผ๋กœ ์ž‘์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

๐Ÿ”ข API ์‚ฌ์šฉ๋Ÿ‰ (gpt-5-nano)
์š”์ฒญ ์ž…๋ ฅ ํ† ํฐ ์ถœ๋ ฅ ํ† ํฐ ํ•ฉ๊ณ„ ๋น„์šฉ
1 383 43 426 $0.000036
2 720 104 824 $0.000078
3 1,727 152 1,879 $0.000147
4 2,160 209 2,369 $0.000192
ํ•ฉ๊ณ„ 4,990 508 5,498 $0.000453

Comment thread coin-change/JeonJe.java

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๐Ÿท๏ธ ์•Œ๊ณ ๋ฆฌ์ฆ˜ ํŒจํ„ด ๋ถ„์„

  • ํŒจํ„ด: Dynamic Programming, Backtracking
  • ์„ค๋ช…: ๋ฉ”๋ชจ์ด์ œ์ด์…˜์„ ์ด์šฉํ•œ ์žฌ๊ท€์  ํƒ์ƒ‰์œผ๋กœ ๊ธˆ์•ก(target)์„ ๋งŒ๋“œ๋Š” ์ตœ์†Œ ๋™์ „ ์ˆ˜๋ฅผ ๊ณ„์‚ฐํ•œ๋‹ค. ์ค‘๋ณต ํ•˜์œ„ ๋ฌธ์ œ๋ฅผ ์ €์žฅํ•˜๊ณ  ์žฌ๊ท€์ ์œผ๋กœ ํ’€์ดํ•˜์—ฌ ์ตœ์ ํ•ด๋ฅผ ๋„์ถœํ•˜๋Š” DP ํŒจํ„ด์— ํ•ด๋‹นํ•œ๋‹ค.

๐Ÿ“Š ์‹œ๊ฐ„/๊ณต๊ฐ„ ๋ณต์žก๋„ ๋ถ„์„

์œ ์ € ๋ถ„์„ ์‹ค์ œ ๋ถ„์„ ๊ฒฐ๊ณผ
Time O(n * amount) O(amount * k) โŒ
Space O(amount) O(amount) โœ…

ํ”ผ๋“œ๋ฐฑ: ์žฌ๊ท€ + ๋ฉ”๋ชจ์ด์ œ์ด์…˜์œผ๋กœ ์ค‘๋ณต ๊ณ„์‚ฐ์„ ์ค„์˜€์ง€๋งŒ, ์ตœ์•…์˜ ๊ฒฝ์šฐ ๋ชจ๋“  target์— ๋Œ€ํ•ด ๋ชจ๋“  ์ฝ”์ธ์„ ์‹œ๋„ํ•˜๋ฏ€๋กœ ์‹œ๊ฐ„๋ณต์žก๋„๋Š” O(amount * k)๋‹ค.

๊ฐœ์„  ์ œ์•ˆ: ํ˜„์žฌ ๊ตฌํ˜„์ด ์ ์ ˆํ•ด ๋ณด์ž…๋‹ˆ๋‹ค.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๐Ÿท๏ธ ์•Œ๊ณ ๋ฆฌ์ฆ˜ ํŒจํ„ด ๋ถ„์„

  • ํŒจํ„ด: Binary Search
  • ์„ค๋ช…: ์ค‘๊ฐ„ ๊ฐ’์„ ๊ธฐ์ค€์œผ๋กœ ์˜์—ญ์„ ๋ฐ˜์œผ๋กœ ๋‚˜๋ˆ„๋ฉฐ ์ตœ์†Œ ์›์†Œ ์œ„์น˜๋ฅผ ์ฐพ๋Š” ์ด์ง„ ํƒ์ƒ‰ ํŒจํ„ด์œผ๋กœ, ํšŒ์ „๋œ ์ •๋ ฌ ๋ฐฐ์—ด์—์„œ ๋ถ€๋ถ„ ์ •๋ ฌ ์—ฌ๋ถ€๋ฅผ ํŒ๋‹จํ•ด ํƒ์ƒ‰ ๋ฒ”์œ„๋ฅผ ์ถ•์†Œํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ“Š ์‹œ๊ฐ„/๊ณต๊ฐ„ ๋ณต์žก๋„ ๋ถ„์„

์œ ์ € ๋ถ„์„ ์‹ค์ œ ๋ถ„์„ ๊ฒฐ๊ณผ
Time O(log n) O(log n) โœ…
Space O(1) O(1) โœ…

ํ”ผ๋“œ๋ฐฑ: ํ”ผ๋ฒ—์˜ ์œ„์น˜๋ฅผ ๊ธฐ์ค€์œผ๋กœ ์™ผ์ชฝ/์˜ค๋ฅธ์ชฝ ์ •๋ ฌ ์—ฌ๋ถ€๋ฅผ ํŒ๋‹จํ•˜๋ฉฐ ํƒ์ƒ‰ ๊ณต๊ฐ„์„ ์ ˆ๋ฐ˜์œผ๋กœ ์ถ•์†Œํ•œ๋‹ค.

๊ฐœ์„  ์ œ์•ˆ: ํ˜„์žฌ ๊ตฌํ˜„์ด ์ ์ ˆํ•ด ๋ณด์ž…๋‹ˆ๋‹ค.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๐Ÿท๏ธ ์•Œ๊ณ ๋ฆฌ์ฆ˜ ํŒจํ„ด ๋ถ„์„

  • ํŒจํ„ด: Depth-First Search, Binary Search, Divine Pattern?
  • ์„ค๋ช…: ๊ฐ€์žฅ ๊นŠ์ด๋ฅผ ์žฌ๋Š” ์žฌ๊ท€ ํƒ์ƒ‰์œผ๋กœ ์™ผ์ชฝ/์˜ค๋ฅธ์ชฝ ์ž์‹์„ ๋จผ์ € ํƒ์ƒ‰ํ•˜๋Š” DFS ํŒจํ„ด์ด๋ฉฐ, ํŠธ๋ฆฌ์˜ ๊ฐ ๋…ธ๋“œ๋ฅผ ๋ฐฉ๋ฌธํ•˜๋ฉฐ ์ตœ๋Œ€ ๊นŠ์ด๋ฅผ ๊ฐฑ์‹ ํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ“Š ์‹œ๊ฐ„/๊ณต๊ฐ„ ๋ณต์žก๋„ ๋ถ„์„

์œ ์ € ๋ถ„์„ ์‹ค์ œ ๋ถ„์„ ๊ฒฐ๊ณผ
Time O(n) O(n) โœ…
Space O(h) O(h) โœ…

ํ”ผ๋“œ๋ฐฑ: ํŠธ๋ฆฌ์˜ ๋ชจ๋“  ๋…ธ๋“œ๋ฅผ ๋ฐฉ๋ฌธํ•˜๋ฉฐ ๊นŠ์ด ์šฐ์„ ์œผ๋กœ ํƒ์ƒ‰ํ•œ๋‹ค.

๊ฐœ์„  ์ œ์•ˆ: ํ˜„์žฌ ๊ตฌํ˜„์ด ์ ์ ˆํ•ด ๋ณด์ž…๋‹ˆ๋‹ค.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๐Ÿท๏ธ ์•Œ๊ณ ๋ฆฌ์ฆ˜ ํŒจํ„ด ๋ถ„์„

  • ํŒจํ„ด: Two Pointers, Merge Sort
  • ์„ค๋ช…: ๋ฆฌ์ŠคํŠธ๋ฅผ ์ˆœ์ฐจ์ ์œผ๋กœ ๋น„๊ตํ•˜๋ฉฐ ์ž‘์€ ๊ฐ’์„ ์ฐจ๋ก€๋กœ ์—ฐ๊ฒฐํ•˜๋Š” ๊ตฌ๊ฐ„์€ Two Pointers ํŒจํ„ด์˜ ์ „ํ˜•์ด๋ฉฐ, ๋‘ ์ •๋ ฌ๋œ ๋ฆฌ์ŠคํŠธ๋ฅผ ํ•ฉ์น˜๋Š” ๋™์ž‘์€ ๋ถ„ํ• ๋œ ๋ถ€๋ถ„ ๋ฐฐ์—ด์„ ํ•ฉ์น˜๋Š” ๊ฐœ๋…์œผ๋กœ ํ•ด์„ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๐Ÿ“Š ์‹œ๊ฐ„/๊ณต๊ฐ„ ๋ณต์žก๋„ ๋ถ„์„

์œ ์ € ๋ถ„์„ ์‹ค์ œ ๋ถ„์„ ๊ฒฐ๊ณผ
Time O(n+m) O(n + m) โœ…
Space O(n+m) O(1) โŒ

ํ”ผ๋“œ๋ฐฑ: ๋‘ ๋ฆฌ์ŠคํŠธ๋ฅผ ๋ณ‘ํ•ฉํ•˜๋Š” ๊ธฐ๋ณธ ํŒจํ„ด์ด๋‹ค. ํ˜„์žฌ๋Š” ์ƒˆ ๋…ธ๋“œ๋ฅผ ๋งŒ๋“ค์–ด ์—ฐ๊ฒฐํ•˜๋ฏ€๋กœ ์ถ”๊ฐ€ ๊ณต๊ฐ„์ด ํ•„์š”ํ•  ์ˆ˜ ์žˆ๋‹ค.

๊ฐœ์„  ์ œ์•ˆ: ๊ณ ๋ คํ•ด๋ณผ ๋งŒํ•œ ๋Œ€์•ˆ: ๊ธฐ์กด ๋…ธ๋“œ๋ฅผ ์žฌ๋ฐฐ์น˜ํ•˜์—ฌ ๊ณต๊ฐ„๋ณต์žก๋„๋ฅผ O(1)๋กœ ์ค„์ผ ์ˆ˜ ์žˆ๋‹ค.

Comment thread word-search/JeonJe.java

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๐Ÿท๏ธ ์•Œ๊ณ ๋ฆฌ์ฆ˜ ํŒจํ„ด ๋ถ„์„

  • ํŒจํ„ด: Depth-First Search, Backtracking
  • ์„ค๋ช…: ์ด ์ฝ”๋“œ๋Š” ๋ณด๋“œ์—์„œ ์ธ์ ‘ ๋ฌธ์ž๋กœ ๋‹จ์„œ๋ฅผ ๋”ฐ๋ผ ํƒ์ƒ‰ํ•˜๋ฉฐ ๋‹จ์„œ๋ฅผ ๋งž์ถœ ๋•Œ๋งˆ๋‹ค ์ด์ „ ์„ ํƒ์„ ๋˜๋Œ๋ฆฌ๋Š” ๋ฐฑํŠธ๋ž˜ํ‚น ๊ธฐ๋ฒ•์„ ์‚ฌ์šฉํ•œ๋‹ค. DFS๋กœ ๋ฐฉํ–ฅ์„ ๋”ฐ๋ผ ๊นŠ์ด ํƒ์ƒ‰ํ•˜๊ณ , ์‹คํŒจ ์‹œ ๋˜๋Œ์•„๊ฐ€๋ฉด์„œ ๋‹ค๋ฅธ ๊ฒฝ๋กœ๋ฅผ ์‹œ๋„ํ•œ๋‹ค.

๐Ÿ“Š ์‹œ๊ฐ„/๊ณต๊ฐ„ ๋ณต์žก๋„ ๋ถ„์„

๋ณต์žก๋„
Time O(m * n * 4^L)
Space O(L)

ํ”ผ๋“œ๋ฐฑ: ๊ฐ ์œ„์น˜์—์„œ ๋ฐฉํ–ฅ๋งˆ๋‹ค DFS๋ฅผ ์ˆ˜ํ–‰ํ•˜๊ณ  ๋ฐฉ๋ฌธ ์ถ”์  ๋ฐฐ์—ด๋กœ ์ค‘๋ณต์„ ๋ฐฉ์ง€ํ•œ๋‹ค.

๊ฐœ์„  ์ œ์•ˆ: ํ˜„์žฌ ๊ตฌํ˜„์ด ์ ์ ˆํ•ด ๋ณด์ž…๋‹ˆ๋‹ค.

๐Ÿ’ก ํ’€์ด์— ์‹œ๊ฐ„/๊ณต๊ฐ„ ๋ณต์žก๋„๋ฅผ ์ฃผ์„์œผ๋กœ ๋‚จ๊ฒจ๋ณด์„ธ์š”!

Comment thread coin-change/JeonJe.java

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ €๋Š” ๋ฐ”ํ…€์—… ๋ฐฉ์‹์œผ๋กœ ์ž‘์„ฑํ–ˆ๋Š”๋ฐ ํƒ‘๋‹ค์šด์œผ๋กœ ํ’€์–ด์ฃผ์…จ๊ตฐ์š”!
coins: [1], amout: 10000์ด ์ž…๋ ฅ์œผ๋กœ ์ฃผ์–ด์กŒ์„ ๋•Œ ์žฌ๊ท€ ์Šคํƒ์ด 10,000๊นŒ์ง€ ๊นŠ์–ด์งˆ ์ˆ˜ ์žˆ์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค~

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์•„ํ•˜ ์กฐ๊ธˆ๋งŒ ์ œ์•ฝ ์กฐ๊ฑด์˜ ๋ฒ”์œ„๊ฐ€ ๋Š˜์–ด๋‚˜๋ฉด ์Šคํƒ ์˜ค๋ฒ„ํ”Œ๋กœ์šฐ๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๊ฒ ๋„ค์š”.
๋ฐ˜๋ณต๋ฌธ์„ ์จ์„œ ๊ฐ€์žฅ ์ž‘์€ ๊ธˆ์•ก ๋‹จ์œ„๋ถ€ํ„ฐ ์ฑ„์›Œ๋‚˜๊ฐ€๋Š” ์‹์˜ ๋ฐ”ํ…€์—… ํ’€์ด๊ฐ€ ์ข‹์•„๋ณด์ด๊ธดํ•˜๋„ค์š”.

๊ผผ๊ผผํ•œ ๋ฆฌ๋ทฐ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ €๋„ ๋™์ผํ•˜๊ฒŒ ์ด์ง„ ํƒ์ƒ‰ํ•˜๋„๋ก ํ’€์—ˆ์Šต๋‹ˆ๋‹ค. ์ž˜ ๋ดค์Šต๋‹ˆ๋‹ค!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ง๊ด€์ ์ด๊ณ  ๊ฐ„๊ฒฐํ•œ ํ’€์ด ์ž˜ ๋ดค์Šต๋‹ˆ๋‹ค ๐Ÿ‘

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ListNode ํ• ๋‹นํ•˜๋Š” ๋กœ์ง์„ ์กฐ๊ธˆ ์ˆ˜์ •ํ•ด์„œ ๊ณต๊ฐ„ ๋ณต์žก๋„๋ฅผ O(1)๋กœ ๊ฐœ์„ ํ•ด๋ณด๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋…ธ๋“œ๋ฅผ ์ƒˆ๋กœ ๋งŒ๋“œ๋Š”๊ฒŒ ์•„๋‹ˆ๋ผ, ์ด๋ฏธ ์žˆ๋Š” list1, list2 ๋…ธ๋“œ๋ฅผ ์ด์–ด ๋ถ™์—ฌ์ฃผ๋Š” ๋ฐฉ์‹์œผ๋กœ ์ตœ์ ํ™”๊ฐ€ ๊ฐ€๋Šฅํ•˜๊ฒ ๋„ค์š”!
์ƒ๊ฐ ๋ชปํ–ˆ๋˜ ๋ถ€๋ถ„์ธ๋ฐ ์ข‹์€ ๋ฆฌ๋ทฐ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!!

Comment thread word-search/JeonJe.java

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dx, dy๋กœ ํฌ์ง€์…˜์„ ๋ฏธ๋ฆฌ ํ• ๋‹นํ•ด๋†“๊ณ  ์“ฐ๋‹ˆ๊นŒ ๊น”๋”ํ•˜๋„ค์š”. ์ž˜ ๋ดค์Šต๋‹ˆ๋‹ค!!

visited ๋ฐฐ์—ด์„ ์„ ์–ธํ•˜์ง€ ์•Š๋„๋กํ•ด์„œ ๊ณต๊ฐ„ ๋ณต์žก๋„๋ฅผ O(L)๋กœ ์ตœ์ ํ™”๋ฅผ ํ•ด๋ณด๋Š” ๊ฒƒ๋„ ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค ๐Ÿ”ฅ

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋ฌด์˜์‹์ ์œผ๋กœ visited ๋ฐฐ์—ด์„ ์‚ฌ์šฉํ•ด์„œ dfs/bfs ๋ฅผ ํ’€๊ณ  ์žˆ์—ˆ๋Š”๋ฐ ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ๋ฐฉ์‹๋„ ๊ณ ๋ฏผ์„ ํ•ด๋ด์•ผ๊ฒ ๋„ค์š”
๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!!

@okyungjin okyungjin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด๋ฒˆ ์ฃผ๋„ ๊ณ ์ƒ ๋งŽ์œผ์…จ์Šต๋‹ˆ๋‹ค~ ๋‹ค์Œ ์ฃผ๋„ ํŒŒ์ดํŒ…์ž…๋‹ˆ๋‹ค!

@JeonJe
JeonJe merged commit 0d88f1d into DaleStudy:main Jul 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants